class Settings:
    def __init__(self):
        self.screen_width = 900
        self.screen_height = 600
        self.bg_color = (230,230,230)

        # 飞船的设置
        self.ship_speed = 1.5
        # 子弹的设置
        self.bullet_speed = 2.5
        self.bullet_width = 9
        self.bullet_height = 3
        self.bullet_color = (60,60,60)
        self.bullet_allowed = 10